home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / program / 168 / autodisk.doc < prev    next >
Text File  |  1988-03-31  |  2KB  |  40 lines

  1. /*
  2.  
  3.    AUTODISK - program to copy floppy disk to RAM disk upon system
  4.                 boot, and also set the system clock.
  5.    By Moshe Braner  <braner@amvax.tn.cornell.edu>          861223
  6.  
  7. FUNCTION
  8.    This program is to be placed in the \AUTO folder on the boot disk,
  9.    AFTER the RAMdisk program.  (It assumes the reset-immune RAM disk is
  10.    already installed.)  After asking the user for the current time and
  11.    date, and setting the ST's two clocks accordingly, this program copies
  12.    the whole floppy disk data, FATs, directory and all, onto the RAMdisk.
  13.    (It first finds out which sector is the last one actually holding data,
  14.    and copies all sectors up to that one.)
  15.  
  16. HINTS
  17.    For best results:  Freshly format a disk, make an AUTO directory,
  18.    put in it first RAMDISK.PRG and then AUTODISK.PRG, then put on the
  19.    disk all other files you want to load to the RAMdisk at boot time,
  20.    but no others.  You can set these files up in folders if you want:
  21.    first make the folders, then put the files on the disk directly into
  22.    the folders.  For maximum speed do not make any deletions of files,
  23.    nor copy files from the disk to itself.
  24.    You may save the desktop (with the RAMdisk icon installed, and perhaps
  25.    the RAMdisk's window open) on the disk, too.  Make sure the RAMdisk
  26.    is more than big enough to hold all those files.
  27.  
  28. ACKNOWLEDGEMENTS
  29.    This program made possible in part by Eric Terrell, who posted
  30.    "eternal.s".  The method of setting the ST's clocks is borrowed
  31.    from "settime", posted by Allan Pratt of Atari.
  32.  
  33. WARNINGS
  34.    This program is for booting off a floppy disk.  For hard disks (or
  35.    future, very large, floppies) the program (and/or the RAMdisk program)
  36.    needs some tweaking, at least at the points marked ">>>>".
  37.    This program will not work with "copy protected" disk formats,
  38.    including the "FAST" format with its "dead" sectors.
  39. */
  40.